﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="Chapter19.Example04.Registration" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }

        .auto-style2 {
            width: 100px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table class="auto-style1">
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="labelEvent" Text="事件：" runat="server"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="dropDownListEvents" runat="server">
                            <asp:ListItem Text="Introduction to ASP.NET" />
                            <asp:ListItem Text="Introduction to Windows Azure" />
                            <asp:ListItem Text="Beginning Visual C# 212" />
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="labelFirstName" Text="姓：" runat="server"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="textFirstName" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="labelLastName" Text="名：" runat="server"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="textLastName" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="labelEmail" Text="邮箱：" runat="server"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="textEmail" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">&nbsp;</td>
                    <td>
                        <asp:Button ID="buttonSubmit" Text="提交" runat="server" PostBackUrl="~/Example03/ResultPage.aspx"/>
                    </td>
                </tr>
                <tr>
                    <td />
                    <td>
                        <asp:Label ID="labelResult" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
